package com.efast.dmom.mes.dao.entity;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.efast.dmom.mes.dao.base.PlantModelBaseEntityDao;
import com.efast.dmom.mes.entity.PlantEntity;


public interface PlantDao extends PlantModelBaseEntityDao<PlantEntity>{

	PlantEntity getByCode(String plantCode);
	List<PlantEntity> getAllPlant();
	
	/**
	 * 查询所有的工厂 返回值 (工厂代码,名称,id的集合)
	 * **/
	List<Map<String,String>> queryPlantCodeIdNameList();
	
	List<PlantEntity> getPlantByName(@Param(value="name")String name);
}
